package cn.lbd.kill.server.controller;

import cn.lbd.kill.server.service.impl.ItemServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 通用页面
 */
@Controller
@RequestMapping("/base")
public class BaseController {
    private static Logger log = LoggerFactory.getLogger(ItemServiceImpl.class);

    /**
     * 错误页面跳转
     * @return
     */
    @RequestMapping(value = "/error", method = RequestMethod.GET)
    public String error() {
        return "error";
    }
}
